<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>评估准则构建生成</title>
	<meta name="description" content="评估准则构建软件">
	<!-- Bootstrap CSS -->
	<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
	<!-- 字体CSS -->
	<link href="assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
	<!-- 自定义样式 -->
	<link href="assets/css/style.css" rel="stylesheet" type="text/css" />
	<link href="assets/css/bootstrap-select/bootstrap-select.css" rel="stylesheet" type="text/css" />

	<link rel="stylesheet" href="./assets/layui/css/layui.css">
	<link rel="stylesheet" href="./assets/css/norm/normCreate.css">
	<style>

	</style>
</head>

<body class="adminbody">
<div id="main">
	<!-- 头部导航 -->
	<div class="headerbar">
		<!-- LOGO -->
		<div class="headerbar-left">
			<a href="index.html" class="logo">
				<!--					<img alt="Logo" src="assets/images/logo.png" />-->
				<span>评估准则构建软件</span>
			</a>
		</div>

		<nav class="navbar-custom">
			<ul class="list-inline float-right mb-0">
				<li class="list-inline-item dropdown notif">
					<a class="nav-link dropdown-toggle arrow-none" data-toggle="dropdown" href="#" role="button"
					   aria-haspopup="false" aria-expanded="false">
						<i class="fa fa-fw fa-bell-o"></i><span class="notif-bullet"></span>
					</a>
					<div class="dropdown-menu dropdown-menu-right dropdown-arrow dropdown-lg">
						<!-- item-->
						<div class="dropdown-item noti-title">
							<h5><small><span class="label label-danger pull-xs-right">1</span>消息提醒</small></h5>
						</div>
						<!-- item-->
						<a href="#" class="dropdown-item notify-item">
							<div class="notify-icon bg-faded">
								<img src="assets/images/avatar.jpg" alt="img"
									 class="rounded-circle img-fluid">
							</div>
							<p class="notify-details">
								<b>Admin</b>
								<span>用户信息注册成功</span>
								<small class="text-muted">3分钟前</small>
							</p>
						</a>
						<!-- All-->
						<a href="#" class="dropdown-item notify-item notify-all">
							查看所有消息
						</a>

					</div>
				</li>

				<li class="list-inline-item dropdown notif">
					<a class="nav-link dropdown-toggle nav-user" data-toggle="dropdown" href="#" role="button"
					   aria-haspopup="false" aria-expanded="false">
						<img src="assets/images/avatar.jpg" alt="Profile image" class="avatar-rounded">
					</a>
					<div class="dropdown-menu dropdown-menu-right profile-dropdown ">
						<!-- item-->
						<div class="dropdown-item noti-title">
							<h5 class="text-overflow"><small>Hello, admin</small> </h5>
						</div>

						<!-- item-->
						<a href="pro-profile.html" class="dropdown-item notify-item">
							<i class="fa fa-user"></i> <span>个人中心</span>
						</a>

						<!-- item-->
						<a href="#" class="dropdown-item notify-item">
							<i class="fa fa-power-off"></i> <span>退出</span>
						</a>
					</div>
				</li>

			</ul>

			<ul class="list-inline menu-left mb-0">
				<li class="float-left">
					<button class="button-menu-mobile open-left">
						<i class="fa fa-fw fa-bars"></i>
					</button>
				</li>
			</ul>

		</nav>

	</div>
	<!-- 头部导航End -->
	<!-- 左侧导航开始 start-->
	<div class="left main-sidebar">
		<div>
			<!--				<img src="./assets/images/logo.png" alt="">-->
		</div>
		<div class="sidebar-inner leftscroll">
			<div id="sidebar-menu">
				<ul>
					<li class="submenu">
						<a href="index.html"><i class="fa fa-fw fa-home"></i><span>评估准则首页</span> </a>
					</li>
					<li class="submenu">
						<a href="normCreate.html" class="active"><i class="fa fa-fw fa-check-circle-o"></i><span>评估准则生成</span> </a>
					</li>
					<li class="submenu">
						<a href="normEdit.html"><i class="fa fa-fw fa-pencil-square-o"></i><span>评估准则编辑</span> </a>
					</li>
					<li class="submenu">
						<a href="normEdit.html"><i class="fa fa-fw fa-bars"></i><span>评估准则展示</span> </a>
					</li>
					<li class="submenu">
						<a href="normTemplete.html"><i class="fa fa-fw fa-file-text-o"></i><span>评估准则模板</span> </a>
					</li>
				</ul>
				<div class="clearfix"></div>
			</div>
			<div class="clearfix"></div>

		</div>

	</div>
	<!-- End 左侧导航 -->
	<div class="content-page">
		<iframe src="./normModule.html" frameborder="0" scrolling ='no' id="normIframe"></iframe>
	</div>
</div>
<script src="assets/js/modernizr.min.js"></script>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/moment.min.js"></script>
<script src="assets/js/popper.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>


<script src="assets/js/detect.js"></script>
<script src="assets/js/fastclick.js"></script>
<script src="assets/js/jquery.blockUI.js"></script>
<script src="assets/js/jquery.nicescroll.js"></script>

<!-- App js -->
<script src="assets/js/pikeadmin.js"></script>
<script src="./assets/layui/layui.js" charset="utf-8"></script>
<script>
	var layer;
	layui.use('layer', function(){
		layer=layui.layer;
	});
	normIframe.onload=function (){
		var iframeWin=document.getElementById("normIframe").contentWindow;
			iframeWin.postType("norm");
	}
	function getInfo(obj,check) {
		var data=Object.assign(obj,{flag:check});
		// console.log(data)
		$.ajax({
			//请求方式
			type : "POST",
			//请求的媒体类型
			contentType: "application/x-www-form-urlencoded",//application/x-www-form-urlencoded,application/json
			//请求地址
			url : "/bs/standardManage/insertStandard",
			//数据，json字符串
			data:data,
			//请求成功
			success : function(res) {
				if (res.status==0){
					layer.msg('提交成功！');
				}else {
					layer.msg('提交失败！');
				}
			},
			//请求失败，包含具体的错误信息
			error : function(e){
				console.error(e.status);
				console.error(e.responseText);
			}
		});
	}


</script>
</body>

</html>